package com.itheima.reggie.service;

import com.itheima.reggie.dto.OrdersDto;
import com.itheima.reggie.entity.Orders;
import com.itheima.reggie.entity.Page;

import java.time.LocalDateTime;
import java.util.List;

public interface OrdersService {
    void submit(Orders orders);

    Page<OrdersDto> userPage(int page, int pageSize);

    Page<OrdersDto> page(int page, int pageSize, String number, String beginTime, String endTime);

    List<OrdersDto> find();
}
